<?php

include(dirname(__FILE__).'/../../bootstrap/functional.php');
//$url="http://localhost:1970/index.php";
$browser = new sfTestBrowser();


///Форма регистрации

$browser->
  get('gallery/index')->
  isRedirected()->
  followRedirect()->
  checkResponseElement('body', '/Register/')
;

///Контактаная форма

  // $browser->post('contact/send',array('contact[email]' => 'admin@dddd.dd','contact[content]'=>'d1q2w3e'))->
  //  checkResponseElement('body', '/Wezom/');    // Manually follow the redirection

?>